package xiaohu.day2.HJ21;

import java.util.Scanner;

// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int[] index = {2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,7,8,8,8,9,9,9,9};

        char[] input = in.nextLine().toCharArray();
        for(int i=0; i<input.length; i++) {
            if(input[i]>='0' && input[i]<='9') {
                System.out.print(input[i]);
                continue;
            }

            if(input[i]>='a' && input[i]<='z') {
                System.out.print(index[input[i]-'a']);
                continue;
            }

            if(input[i]>='A' && input[i]<'Z') {
                //妙、-A变为0、+a变为小写字母、+1后移一位
                System.out.print((char)(input[i]-'A'+'a'+1));
                continue;
            }

            if(input[i]=='Z') {
                System.out.print('a');
                continue;
            }
            System.out.println(input[i]);
        }
    }
}
